<template>
    <div class="box">
        <img src="@/assets/images/error_images/404.png" alt="返回首页" @click="back">    
    </div>
</template>

<script setup lang="ts">
import { useRouter } from "vue-router";
let $route = useRouter();
const back = () => {
    $route.push('/home')   
}

</script>

<style lang="scss" scoped>
.box{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}
</style>